<div class="container main" style="margin-top: 40px;">
    <ul class="nav nav-tabs midbox" id="myTab">
        <?php $this->component('Hr_StaffMenu','enter');?>
    </ul>
    <form class="form-horizontal" style="padding:20px 0 0;" method="POST">
        <div class="control-group midbox">
            <label class="control-label">入职日期：</label>
            <div class="controls">
                <div class="input-append" style="vertical-align: inherit;">
                    <input class="span2" id="datepicker" type="text" name="start" style="vertical-align: top;">
                    <span class="add-on"><i class="icon-calendar"></i></span>
                    <label style="display: inline-block;">&nbsp;&nbsp;&nbsp;&nbsp;&ndash;</label>
                    <input style="vertical-align: top;margin-left: 20px" class="span2" id="datepicker1" name="end" type="text">
                    <span class="add-on"><i class="icon-calendar"></i></span>
                    <button type="submit" class="btn" style="margin:0 0 0 20px; "><i class="icon-download-alt"></i> 导出</button>
                </div>
            </div>
        </div>
    </form>
</div>


<?php $this->script_block_begin(); ?>
<script type="text/javascript">
    $(document).ready(function() {
        $('#datepicker').datepicker()
        $('#datepicker1').datepicker();
        $(".icon-calendar").bind('click',function(e){
            $(this).parent().prev().trigger('click');
            e.stopPropagation();
            });
    });
</script>
<?php $this->script_block_end(); ?>